package com.gt.xmall.repository;


import org.springframework.data.repository.CrudRepository;

import com.gt.xmall.model.SysUser;


public interface SysUserDao extends CrudRepository<SysUser, Long> {
	SysUser findByName(String loginName);
	SysUser findByNameAndPassword(String name,String password);
}
